On Static and Dynamic Control-Flow Information in Program Analysis and Transformation

نویسنده

  • Daniel Damian
چکیده

This thesis addresses several aspects of static and dynamic control-flow information in programming languages, by investigating its interaction with program transformation and program analysis. Control-flow information indicates for each point in a program the possible program points to be executed next. Control-flow information in a program may be static, as when the syntax of the program directly determines which parts of the program may be executed next. Control-flow information may be dynamic, as when run-time values and inputs of the program are required to determine which parts of the program may be executed next. A control-flow analysis approximates the dynamic control-flow information with conservative static control-flow information. We explore the impact of a continuation-passing-style (CPS) transformation on the result of a constraint-based control-flow analysis over Moggi’s computational metalanguage. A CPS transformation makes control-flow explicitly available to the program by abstracting the remainder of the computation into a continuation. Moggi’s computational metalanguage supports reasoning about higher-order programs in the presence of computational effects. We show that a non-duplicating CPS transformation does not alter the result of a monovariant constraint-based control-flow analysis. Building on control-flow analysis, we show that traditional constraint-based binding-time analysis and traditional partial evaluation benefit from the effects of a CPS transformation, while the same CPS transformation does not affect continuation-based partial evaluation and its corresponding binding-time analysis. As an intermediate result, we show that reducing a program in the computational metalanguage to monadic normal form also improves binding times for traditional partial evaluation while it does not affect continuation-based partial evaluation. In addition, we show that linear β-reductions have no effect on controlflow analysis. As a corollary, we solve a problem left open in Palsberg and Wand’s CPS transformation of flow information. Furthermore, using Danvy and Nielsen’s first-order, one-pass CPS transformation, we present a simpler CPS transformation of flow information with a simpler correctness proof. We continue by exploring Shivers’s time-stamps-based technique for approximating program analyses over programs with dynamic control flow. We formalize a time-stamps-based algorithm for approximating the least fixed point

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Program Transformation for Non-interference Verification on Programs with Pointers

Novel approaches for dynamic information flow monitoring are promising since they enable permissive (accepting a large subset of executions) yet sound (rejecting all unsecure executions) enforcement of non-interference. In this paper, we present a dynamic information flow monitor for a language supporting pointers. Our flow-sensitive monitor relies on prior static analysis in order to soundly e...

متن کامل

Functional Training Program Effect on Static and Dynamic Balance in Male Able-bodied Elderly

Objectives: Balance is an index to determine the level of independency of elderly (65 years and older) in their daily activities. The purpose of this study was to examine the effect of a functional training program on static and dynamic balance of elderly male able-bodied subjects. Methods & Materials: Thirty elderly male subjects (age:70.83±3 y, weight:70.60±2.44 kg, height:1.78±2.28 m) par...

متن کامل

Literature Review of Traffic Assignment: Static and Dynamic

Rapid urban growth is resulting into increase in travel demand and private vehicle ownership in urban areas. In the present scenario the existing infrastructure has failed to match the demand that leads to traffic congestion, vehicular pollution and accidents. With traffic congestion augmentation on the road, delay of commuters has increased and reliability of road network has decreased. Four s...

متن کامل

The Effect of Water Exercise Program on Static and Dynamic Balance in Elderly Women

Objectives: Poor balance is one of risk factors of falling, a cause of injury and even death in elderly. The aim of this study was to evaluate the effect of a water exercise program on static and dynamic balance in elder women. Methods & Materials: Thirty participants aged 55-70 years completed an exercise program (60 min, 3 days and 6 weeks), in 2 groups, exercise and control, voluntarily. ...

متن کامل

Effect of Soft Knee Support on Dynamic and Static Balance in the Male Elderly

Objectives: Joint supporters can caused increasing proprioceptive information. Such proprioceptive information is needed for balance. The purpose of this study was to determine the effect of soft knee support on static and dynamic balance tests in male elderly (65 years and older). Methods & Materials: Via a randomized clinical trial study design, 22 elderly were selected and divided into tw...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001